package com.cuckoo.mall.thus.goodmultipledetail;

import android.content.Context;

import com.bgn.baseframe.base.BasePresenter;
import com.bgn.baseframe.base.BaseView;
import com.cuckoo.mall.javabean.Goods;
import com.cuckoo.mall.javabean.Product;


/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class GoodMultipleDetailContract {
    interface View extends BaseView {
        void whenGetGoodInfo(Product data);

        void whenAddFavoriteSucceed();

        void whencancleFavoriteSucceed();
    }

    interface Presenter extends BasePresenter<View> {
        void loadGoodsInfo(String product_id);

        void addFavorite(String product_id);

        void delFavorite(String product_id);
    }
}
